package com.gz.droolsrule.dao;

import com.gz.droolsrule.pojo.BaseRuleActionParamValueInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName: BaseRuleActionParamValueInfoMapper <br/>
 * Description: <br/>
 * date: 2019/5/29 16:37<br/>
 *
 * @author gz<br />
 * @since JDK 1.8
 */
@Mapper
public interface BaseRuleActionParamValueInfoMapper {
    /**
     * 方法说明: 根据动作参数或动作与规则关系id获取对应的参数信息
     *
     * @param baseRuleActionParamValueInfo 参数
     */
    List<BaseRuleActionParamValueInfo> findBaseRuleActionParamValueInfoList(BaseRuleActionParamValueInfo baseRuleActionParamValueInfo);


    /**
     * 方法说明: 根据参数id获取参数value
     *
     * @param paramId 参数id
     */
    BaseRuleActionParamValueInfo findRuleParamValueByActionParamId(@Param("paramId") Long paramId);
}
